﻿namespace ScrumLite.WebUx.Tests
{
    using System.Web.Mvc;

    internal class MockView : IViewEngine, IViewDataContainer
    {
        private object viewDataToShow;
 
        public object ViewData
        {
            get
            {
                return this.viewDataToShow;
            }
        }

        public void RenderView(ViewContext viewContext)
        {
            this.viewDataToShow = viewContext.ViewData;
            return;
        }
    }
}
